Skip to content

Fix NullReferenceException when mapping Name to a property value#54

Merged
AndyButland merged 2 commits intoAndyButland:masterfrom
dojscart:patch-1
Oct 15, 2022
Merged

Fix NullReferenceException when mapping Name to a property value#54
AndyButland merged 2 commits intoAndyButland:masterfrom
dojscart:patch-1

Conversation

@dojscart
Copy link
Copy Markdown
Contributor

Prevent null reference exception if a value gets mapped from NuCache.PublishedContent.Name and the value is null.

This can happen when content with a localised set of values references another piece of content, and that other piece of content does not have a published version for that language

dojscart and others added 2 commits October 14, 2022 10:32
Prevent null reference exception if a value gets mapped from NuCache.PublishedContent.Name and the value is null.

This can happen when content with a localised set of values references another piece of content, and that other piece of content
does not have a published version for that language
@AndyButland AndyButland merged commit 04f1bca into AndyButland:master Oct 15, 2022
@AndyButland
Copy link
Copy Markdown
Owner

Looks good, thanks for this. It's been a while since I updated this package but will see about getting a release out with this fix in for you.

@AndyButland
Copy link
Copy Markdown
Owner

You will find 4.2.3 on NuGet and our now with this fix included.

@dojscart
Copy link
Copy Markdown
Contributor Author

Great :) thanks for this!

@dojscart dojscart deleted the patch-1 branch October 17, 2022 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants